Return a Sorted Array Without Changing the Original Array